import Vue from 'vue'
import Router from 'vue-router'
import Find from '../pages/Find'
import TuiJian from '../pages/TuiJian'
import RenWu from '../pages/RenWu'
import ZiZhen from '../pages/ZiZhen'
import My from '../pages/My'
import YuYue from '../pages/YuYue'
import WenZhen from '../pages/WenZhen'
import FuWu from '../pages/FuWu'
import ShangPin from '../pages/ShangPin'
import Acctset from '../pages/Acctset'
import Login from '../pages/Login'
import Reg from '../pages/Reg'
import YiYanTang from '../pages/YiYanTang'
import List from '../pages/List'
import DoctorTalk from '../pages/DoctorTalk'
import EveryHelp from '../pages/EveryHelp'
import HealthHao from '../pages/HealthHao'
import IllerTalk from '../pages/IllerTalk'
import Guahao01 from '../pages/Guahao01'
import Guahao02 from '../pages/Guahao02'
import Guahao03 from '../pages/Guahao03'
import Guahao04 from '../pages/Guahao04'
import Guahao05 from '../pages/Guahao05'
import Guahao06 from '../pages/Guahao06'
import Guahao07 from '../pages/Guahao07'
import Index from '../pages/Index'
import Mine from '../pages/Mine'
import YanXuanProduct from '../pages/YanXuanProduct'
import Stroy from '../pages/Stroy'
import Serve from '../pages/Serve'
import Detail from '../pages/Detail'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    },
    {
      path: '/guahao01',
      name: 'Guahao01',
      component: Guahao01
    },
    {
      path: '/guahao02/:idx',
      name: 'Guahao02',
      component: Guahao02
    },
    {
      path: '/guahao03/:hNum',
      name: 'Guahao03',
      component: Guahao03
    },
    {
      path: '/guahao04/:hNum',
      name: 'Guahao04',
      component: Guahao04
    },
    {
      path: '/guahao05',
      name: 'Guahao05',
      component: Guahao05
    },
    {
      path: '/guahao06',
      name: 'Guahao06',
      component: Guahao06
    },
    {
      path: '/guahao07',
      name: 'Guahao07',
      component: Guahao07
    },
    {
      path: '/find',
      name: 'Find',
      component: Find
    },
    {
      path: '/tuijian',
      name: 'TuiJian',
      component: TuiJian
    },
    {
      path: '/renwu',
      name: 'RenWu',
      component: RenWu
    },
    {
      path: '/zizhen',
      name: 'ZiZhen',
      component: ZiZhen
    },
    {
    	path: '/yiyantang',
      name: 'YiYanTang',
      component: YiYanTang
    },
      {
        path: '/list/:index',
        name: 'List',
        component: List
      },
      {
          path: '/doctortalk',
          name: 'DoctorTalk',
          component: DoctorTalk
      },
      {
          path: '/everyhelp',
          name: 'EveryHelp',
          component: EveryHelp
      },
      {
          path: '/healthhao',
          name: 'HealthHao',
          component: HealthHao
      },
      {
          path: '/illertalk',
          name: 'IllerTalk',
          component: IllerTalk
      },
      {
          path: '/mine',
          name: 'Mine',
          component: Mine
      },
      {
          path: '/my',
          name: 'My',
          component: My
      },
      {
          path: '/yuyue',
          name: 'YuYue',
          component: YuYue
      },
      {
          path: '/wenzhen',
          name: 'WenZhen',
          component: WenZhen
      },
      {
          path: '/fuwu',
          name: 'FuWu',
          component: FuWu
      },
      {
          path: '/shangpin',
          name: 'ShangPin',
          component: ShangPin
      },
      {
          path: '/acctset',
          name: 'Acctset',
          component: Acctset
      },
      {
          path: '/login',
          name: 'Login',
          component: Login
      },
      {
          path: '/reg',
          name: 'Reg',
          component: Reg
			},
      {
          path: '/yanxuanproduct',
          name: 'YanXuanProduct',
          component: YanXuanProduct
      },
      {
          path: '/stroy',
          name: 'Stroy',
          component: Stroy
      },
      {
          path: '/serve',
          name: 'Serve',
          component: Serve
      },
       {
          path: '/detail',
          name: 'Detail',
          component: Detail
      }

  ]
})
